package com.jk.hly.client;

import com.jk.hly.bean.HlyUser;
import com.jk.hly.bean.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("login")
public interface HlyLoginClient {

    @RequestMapping("userLogin/zhangHaoAndPasswordLogin")
    String zhangHaoAndPasswordLogin(HlyUser user);

    @RequestMapping("userLogin/phoneLogin")
    Result phoneLogin(String phone);

    @RequestMapping("userLogin/userPhoneLogin")
    String userPhoneLogin(HlyUser user);


}
